<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<link rel="stylesheet" type="text/css" href="../../css/base.css" />
		<link id="easyuiTheme" rel="stylesheet" type="text/css" href="../../easy-ui/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../easy-ui/themes/icon.css">
		<script type="text/javascript" src="../../easy-ui/jquery.min.js"></script>
		<script type="text/javascript" src="../../easy-ui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="../../js/base.js" ></script>
	</head>

	<body class="easyui-layout" data-options="fit:true" style="overflow:hidden;">
		<div data-options="region:'center',border:true,">
			<!-- the dataForm start  -->
			<form id="baseForm" method="post" name="baseForm" target="hiddenFrame" style="margin:0px;padding:0px;overflow:hidden;">
				<input  name="id"  id="id" type="hidden" ></input>
	  			<table border="0" cellpadding="0" cellspacing="3" class="data-table">
					<!-- 表格的布局控制 -->
					<tr class="data-table-base-tr">
						<td  class="data-table-label" ></td>
						<td  id="table_input_base" ></td>
						<td  class="data-table-right-margin"></td>
					</tr>
					<tr class="hide_reason">
						<td class="table-gray" width="10%">不通过原因：</td>
					 	<td style="width: 40%;" colspan="3" class="data-table-input">
							<textarea  rows=10  style="width:100%;overflow:auto;" class="textbox"  name="authFailureReason" id="authFailureReason" ></textarea>
						</td>
					</tr>
	             </table>
			</form>
		</div>

		<script type="text/javascript">
		
		function hideOrShowHtml(obj) {
			var typeValue = obj.options[obj.options.selectedIndex].value; //这是取值    
			$('#bankAccountAuthStatus').val(typeValue);
			if (typeValue == 'N') {//不通过
				$('.hide_reason').show()
			} else if (typeValue == 'Y') {//通过
				$('.hide_reason').hide()
			} else {
				alert("请选择正确的店铺类型!");
			}
		}
		
		function initPage(fatherId){
			parent.showProgressing();
			baseFormClear();	
			initAdd(null);
		}
		var responseResultPage;
		window.onload=function(){
			parent.showProgressing();
			document.getElementById('id').value=parent.parent.mainFrame_id.selections[0].id;
			sendRequestAjax('../../zcshopaucinfo/getFailReason.do?responseFunction=initAdd',initAdd);
		}
	
		function initAdd(responseResult){
			document.getElementById('authFailureReason').value = responseResult.data.authFailureReason; 
			responseResultPage=responseResult;
			parent.closeProgressing(); 
		}
	</script>
</html>